#include "displaytask.h"
#include <string.h>
#include <stdio.h>
#include "FreeRTOS.h"
#include "drv_iic.h"
#include "sampletask.h"
#include "util.h"
#include "task.h"
#include "drv_lcd.h"

void displayTask(void * argument)
{
    //init lcd
    uint32_t curvalue = 0;
    uint8_t timegap = 0;
    sleep(1);
    drvLcdInit();
    drvLcdShowString(16, 16, "test.123", 16, 1);
    drvLcdRefresh();
    while(1) {
        // curvalue = getAverageCurr(timegap);
        vTaskDelay(pdMS_TO_TICKS(1000));
    }
    drvLcdDeInit();
}
